/*
 * @Author: vlesil 11236032+vlesil@user.noreply.gitee.com
 * @Date: 2022-10-12 10:58:23
 * @LastEditors: vlesil 11236032+vlesil@user.noreply.gitee.com
 * @LastEditTime: 2022-10-13 20:18:12
 * @FilePath: \team-cooperation-project\src\api\account.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// 账户管理api
import { get } from '@/utils/request'

// 查询顾客名单
export function findUser() {
  return get('/baseUser/cascadeRoleFindAll')
}

// 查询顾客账单
export function customerAccount(params) {
  return get('/account/pageQueryCustomerAccount', params)
}

// 顾客充值
export function customerRechargeable(params) {
  return get('/account/recharge', params)
}

// 员工账单
export function employeeAccount(params) {
  return get('/account/pageQueryEmployeeAccount', params)
}

// 查询系统账单
export function systemAccount(params) {
  return get('/account/pageQuerySystemAccount', params)
}
